//
//  RealLoginViewController.m
//  xxShare
//
//  Created by 柳麟喆 on 2018/3/25.
//  Copyright © 2018年 lzLiu. All rights reserved.
//

#import "RealLoginViewController.h"
#import "ViewController.h"

@interface RealLoginViewController ()

@end

@implementation RealLoginViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
    self.navigationItem.title = @"登录";
    self.navigationController.navigationBarHidden = NO;
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

- (IBAction)loginButton:(UIButton *)sender {
    [SVProgressHUD showSuccessWithStatus:@"登录成功！"];
    [SVProgressHUD dismissWithDelay:1.0];
    ViewController *main = [[ViewController alloc]init];
//    main.modalTransitionStyle = UIModalTransitionStyleFlipHorizontal;
//    [self presentViewController:main animated:YES completion:nil];
    [self.navigationController pushViewController:main animated:YES];
}
@end
